<%  if entity.is_a?(EnumDecl) -%>
<%=   render('swift/enum.erb') -%>
<%  elsif entity.is_struct -%>
<%=   render('swift/struct.erb') -%>
<%  else -%>
<%=   render('swift/class.erb') -%>
<%  end -%>